GtkCellRendererToggle: update documentation of 'toggled' signal
authorDan Williams <dcbw@redhat.com>
Thu, 10 Oct 2013 20:33:36 +0000 (15:33 -0500)
committerDan Williams <dcbw@redhat.com>
Thu, 10 Oct 2013 20:33:36 +0000 (15:33 -0500)
Clarify that applications are expected to handle updating the model
from the 'active' property, like GtkCellRendererText does for the
'edited' property.

gtk/gtkcellrenderertoggle.c

index bee988e39d0db6b7db10619b3aace06944a4522c..77174c87749ec4f8a54c48c984acd76bb6999962 100644 (file)
@@ -181,6 +181,9 @@ gtk_cell_renderer_toggle_class_init (GtkCellRendererToggleClass *class)
    *        event location
    *
    * The ::toggled signal is emitted when the cell is toggled. 
+   *
+   * It is the responsibility of the application to update the model
+   * and store the "active" property at the position indicated by @path.
    **/
   toggle_cell_signals[TOGGLED] =
     g_signal_new (I_("toggled"),